package oocl.ita.eordering.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import oocl.ita.eordering.dao.FoodDao;
import oocl.ita.eordering.po.Food;
import oocl.ita.eordering.service.FoodService;

@Service
public class FoodServiceImpl implements FoodService {
	@Autowired
	private FoodDao foodDao;

	@Override
	@Transactional
	public List<Food> findFoodByMerchantId(int mId) {
		// TODO Auto-generated method stub
		return foodDao.findFoodByMerchantId(mId);
	}

}
